projects
/
babl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
23222ab
)
babl-extension: print warning if no extensions were loaded
author
Øyvind Kolås
<pippin@gimp.org>
Tue, 30 Aug 2016 22:17:24 +0000
(
00:17
+0200)
committer
Øyvind Kolås
<pippin@gimp.org>
Tue, 30 Aug 2016 22:17:24 +0000
(
00:17
+0200)
babl/babl-extension.c
patch
|
blob
|
history
diff --git
a/babl/babl-extension.c
b/babl/babl-extension.c
index bc371f8f957045d8263479175a636fdb4cb32e67..2f0b3afe7610155e79b570d3831d509bf7a4c601 100644
(file)
--- a/
babl/babl-extension.c
+++ b/
babl/babl-extension.c
@@
-346,6
+346,14
@@
babl_extension_load_dir_list (const char *dir_list)
}
}
babl_free (path);
+ if (babl_db_count (db) <= 0)
+ {
+ fprintf (stderr,
+"WARNING: the babl installation seems broken, no extensions found in queried\n"
+"BABL_PATH (%s) this means no SIMD/instructions/special case fast paths and\n"
+"only slow reference conversions are available, applications might still\n"
+"run but software relying on babl for conversions will be slow\n", dir_list);
+ }
}
#endif